﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000AC RID: 172
	internal class Int8Int64 : IInt64Decoder
	{
		// Token: 0x060002B3 RID: 691 RVA: 0x0000B90C File Offset: 0x00009D0C
		private Int8Int64()
		{
		}

		// Token: 0x060002B4 RID: 692 RVA: 0x0000B914 File Offset: 0x00009D14
		public long Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (long)((sbyte)bytes[offset + 1]);
		}

		// Token: 0x040000CD RID: 205
		internal static readonly IInt64Decoder Instance = new Int8Int64();
	}
}
